package com.miya.service.impl;

import com.miya.common.utils.Query;
import com.miya.dao.TSalaryDao;
import com.miya.entity.TSalaryEntity;
import com.miya.service.TSalaryService;
import com.miya.common.utils.PageUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;


@Service("tSalaryService")
public class TSalaryServiceImpl extends ServiceImpl<TSalaryDao, TSalaryEntity> implements TSalaryService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<TSalaryEntity> page = this.selectPage(
                new Query<TSalaryEntity>(params).getPage(),
                new EntityWrapper<TSalaryEntity>()
        );
        return new PageUtils(page);
    }

}
